<!--顶部导航-->
<div class="header">
	<div class="w_top">
		<div class="logo"><a href="index.php"><img src="templates/app/images/logo.gif" width="114" height="37" border="0" /></a></div>
    	<div class="top_menu2">
		<?php
		if($this->Get['code']=='nav' || $this->Get['code']=='detail'){
		$navd ='class="on"';
		}elseif($this->Get['code']=='company'){
		$companyd ='class="on"';
		}elseif($this->Get['code']=='activity'){
		$activityd ='class="on"';
		}elseif($this->Get['code']=='favorite'){
		$favorited ='class="on"';
		}else{
		$indexd ='class="on"';
		}
		?>
        	<a href="index.php?mod=brandindex" <?php echo $indexd;?>>品牌首页</a> <a href="index.php?mod=brandindex&code=nav" <?php echo $navd;?>>品牌导航</a> <a href="index.php?mod=brandindex&code=company" <?php echo $companyd;?>>企业介绍</a> <a href="index.php?mod=brandindex&code=activity" <?php echo $activityd;?>>最新活动</a> <a href="index.php?mod=brandindex&code=favorite" <?php echo $favorited;?>>我的收藏</a>
        </div>
    	<div class="user_nav2">
		<?php if( MEMBER_ID > 0 ){ $n=0; ?>
			您好，<?php echo $_COOKIE['MEMBER_NAME'];?>
			欢迎来到聚友品牌 <a href="index.php?mod=<?php echo $__my['username'];?>"><img src="<?php echo $__my['face']?>" />我的微博</a>
		<?php }else{ ?>
		    <a href="index.php">您还未登录，点击这里 <b style="color:#eee;">登录</b></a>
		<?php } ?>
		</div>
	</div>
</div>